Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

♻️ Refactor SanityImage #1075

Merged
merged 4 commits into from
Dec 19, 2024
Merged

♻️ Refactor SanityImage #1075

merged 4 commits into from
Dec 19, 2024

Conversation

petterhh
Copy link
Contributor

@petterhh petterhh commented Dec 18, 2024

Summary

  • ♻️ Refactor SanityImage
  • 🔥 Remove useNextSanityGlobalImage, SanitySharedImage, SanityStudioImage, SanityGlobalImage, SanityAssetImage
  • ♻️ Use Image rather than SanityImage for images hosted outside of Sanity (i.e. employee images hosted on Azure)
  • ♻️ Remove src from IImage

See related Slack thread

Copy link

vercel bot commented Dec 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
variant-no ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 19, 2024 7:33am
variant-se-2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 19, 2024 7:33am

Copy link
Contributor

@anemne anemne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm 👍

@petterhh petterhh merged commit a60175e into v3 Dec 19, 2024
6 checks passed
@petterhh petterhh deleted the petterhh/simplify-sanity-image branch December 19, 2024 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants